//
//  TogetherViewCell.m
//  YiqiMobile
//
//  Created by henry on 13-3-24.
//  Copyright (c) 2013年 henry. All rights reserved.
//

#import "TogetherViewCell.h"
#import "Utility.h"
#import "Config.h"

@implementation TogetherViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle=UITableViewCellSelectionStyleNone;
        UIImageView *background=[[UIImageView alloc] initWithImage:[Utility imageNamed:@"bw_tableCell.png"]];
        self.backgroundView=background;
        
        self.dot=[[UIImageView alloc] initWithImage:[Utility imageNamed:@"bw_dot.png"]];
        self.dot.frame=CGRectMake(10, 10, 8, 8);
        [self addSubview:self.dot];
        
        self.content=[Utility detailTextLabel:CGRectMake(25, 5, 265, 18) andFontSize:15.0f];
        self.content.textColor=UIColorFromRGB(0x000000);
        [self addSubview:self.content];
        
        self.detail=[Utility detailTextLabel:CGRectMake(150, 25, 130, 15) andFontSize:8.0f];
         self.content.textColor=UIColorFromRGB(0x666666);
        self.detail.textAlignment=NSTextAlignmentRight;
        [self addSubview:self.detail];
        
        self.dot=[[UIImageView alloc] initWithImage:[Utility imageNamed:@"bw_arrow.png"]];
        self.dot.frame=CGRectMake(290, 11, 19, 20);
        [self addSubview:self.dot];
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
